package com.ltg.urban.domain.project.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ltg.framework.mybatis.entities.BaseEntity;
import com.ltg.urban.domain.project.data.request.ProjectPositionEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * <p> ClassName: UrbanProject </p>
 * <p> Package: com.ltg.urban.domain.project.entity </p>
 * <p> Description: </p>
 * <p></p>
 *
 * @Author: LTG
 * @Create: 2023/2/26 - 13:07
 * @Version: v1.0
 */

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("u_project_user")
public class UrbanProjectUser extends BaseEntity {

    @Schema(description = "项目id")
    private Long projectId;
    @Schema(description = "用户id")
    private Long userId;
    @Schema(description = "项目职位:项目经理、项目成员")
    private String position;

    @Schema(description = "职位名称")
    @TableField(exist = false)
    private String realName;

}
